$(function() {
	$('.explain a').on('touchend', function() {
		$('.duihuan_box').css("display", "block");
	});
	$('.duihuan_down a:first').on('touchend', function() {

	});
	$('.duihuan_down a:last').on('touchend', function() {
		$('.duihuan_box').css("display", "none");
	});
	$('.foods_detail_words_r span:nth-child(1)').on('touchend',function(){
		var num=parseInt($('.foods_detail_words_r label').html());
		if(num>0){
			num--;
		}
		if(num<10){
			num="0"+num;
		}
		$('.foods_detail_words_r label').html(num);
	});
	$('.foods_detail_words_r span:nth-child(3)').on('touchend',function(){
		var num=parseInt($('.foods_detail_words_r label').html());
		if(num<100){
			num++;
		}
		if(num<10){
			num="0"+num;
		}
		$('.foods_detail_words_r label').html(num);
	})
})